package com.zyong.design.pattern.bridge.case2;

/**
 * @program: zyong-design-pattern
 * @ClassName: Phone
 * @author: zyong
 * @create: 2024-04-06 22:13
 */
public abstract class Phone {
    protected Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }

    /**
     * 开机
     */
    protected abstract void open();

    /**
     * 关机
     */
    protected abstract void close();

    /**
     * 打电话
     */
    protected abstract void call();
}
